<?php
use think\facade\Route;
Route::any('member', 'Member/index');
Route::any('detail', 'Index/detail');
Route::any('change', 'Member/change');
Route::get('asset', 'Member/asset');
Route::any('address-add', 'CoinAddress/addAddress');
Route::any('address-list', 'CoinAddress/index');
Route::post('address-delete', 'CoinAddress/delete');
Route::any('address-edit/:id', 'CoinAddress/edit');
Route::any('order', 'Member/orderList');
Route::any('record', 'Member/record');
Route::post('wallet', 'Member/wallet');
Route::any('agent-list', 'member/agent');
Route::get('login','Login/index');
Route::get('forget','Login/forget');
Route::get('register','Login/register');
Route::get('verify','Login/verify');
Route::post('send-email-code','Login/sendEmailCode');
Route::post('do-register','Login/doRegister');
Route::post('do-login','Login/doLogin');
Route::get('logout','Login/logout');
Route::get('trade/:code','Trade/index');
Route::any('trade-list','Trade/lists');
Route::get('list','Index/list');
Route::post('kline-history','Kline/getHistory');
Route::post('kline-polling','Kline/polling');
Route::any('notice-list', 'Notice/index');
Route::get('notice-detail/:id', 'Notice/detail');
Route::any("change-login-passwd",'Member/changePasswd');
Route::any("set-withdraw-passwd",'Member/setWithdrawPasswd');
Route::any("certificate",'Member/certificate');
Route::get('pay', 'Pay/pay');
Route::post('do-pay', 'Pay/doPay');
Route::any('pay-list', 'Pay/index');
Route::get('withdraw-apply', 'Withdraw/apply');
Route::post('withdraw-wallet', 'Withdraw/wallet');
Route::any('withdraw-list', 'Withdraw/index');
Route::post("do-Withdraw",'Withdraw/doWithdraw');
Route::any('letter-list', 'Letter/index');
Route::get('invite', 'Member/invite');
Route::any('letter-list', 'Letter/index');
Route::get('letter-detail/:id', 'Letter/detail');